package com.niit.guet.w12.session2.shape;

public class Triangle extends Shape{

	public Triangle(double wide, double height) {
		super(wide, height);
	}

	@Override
	double area() {
		return getWide()*getHeight()*0.5;
	}

}
